﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NewRen.Models
{
    /// <summary>
    /// 论坛板块
    /// </summary>
    public class Plate
    {
        /// <summary>
        /// ID
        /// </summary>
        public int ID { set; get; }

        /// <summary>
        ///  板块名
        /// </summary>
        [StringLength(200)]
        public string Title { set; get; }

        /// <summary>
        /// 图片
        /// </summary>
        public byte[] Picture { set; get; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Description { set; get; }


        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Time { set; get; }



        /// <summary>
        /// 举报
        /// </summary>
        public int Report { set; get; }

        /// <summary>
        /// 是否关闭
        /// </summary>
        public bool IsColse { set; get; }


        /// <summary>
        /// 浏览
        /// </summary>
        public int Browses { get; set; }


    }
}
